package ac.beiwo.baas.file.handler;

import ac.beiwo.baas.common.entity.SimpleError;
import ac.beiwo.baas.file.entity.BaasFile;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * Created by Staryet on 15/8/27.
 */
public interface IFileHandler {

    Map<String, Object> getToken(String name);

    BaasFile callback(String body, HttpServletRequest request) throws SimpleError;

}
